﻿@model IEnumerable<YanZhiwei.MVC5.ContosoUniversity.ViewModels.EnrollmentDateGroup>
@{
    ViewBag.Title = "Student Body Statistics";
}
<h2>Student Body Statistics</h2>
<table>
    <tr>
        <th>Enrollment Date</th>
        <th>Students</th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>@Html.DisplayFor(o => item.EnrollmentDate)</td>
            <td>@item.StudentCount</td>
        </tr>
    }
</table>